<?php
class Core_Business_Userexpertises extends Core_Business_Abstract {
	private $_userid;
	private $_expertisesid;

	public function getUserid() {return $this->_userid;}
	public function setUserid($value) {$this->_userid=$value;}
	
	public function getExpertisesid() {return $this->_expertisesid;}
	public function setExpertisesid($value) {$this->_expertisesid=$value;}
	
	public function getExpertise() {return Core_Business_Expertises::getById($this->_expertisesid);}
	public function save() {
		$map = new Core_Data_Mappers_Userexpertises();
		$map->save($this);
	}
}